package org.redr.canvas;

public class LinkPair{
	private OutputSocket out;
	private InputSocket in;
	private Boolean enabled;
	
	public LinkPair(OutputSocket o, InputSocket i)
	{
		out = o;
		in = i;
		enabled = new Boolean(true);
	}
	
	public LinkPair(OutputSocket o, InputSocket i, Boolean e)
	{
		out = o;
		in = i;
		enabled = e;
	}
	
	public OutputSocket getOutput()
	{
		return out;
	}
	
	public InputSocket getInput()
	{
		return in;
	}
	
	public Boolean isEnabled()
	{
		return enabled;
	}
}